package zero.tech.games.dn.process;

import com.alibaba.fastjson.JSONObject;

import zero.tech.core.ZeroContext;
import zero.tech.core.data.Resp;
import zero.tech.games.dn.data.consts.DNCMD;
import zero.tech.games.dn.service.api.IDnService;
import zero.tech.games.logic.common.Room;
import zero.tech.games.logic.process.ReqRoomProcess;
import zero.tech.wsnet.controller.LogicController;
import zero.tech.wsnet.data.IREQ;
@IREQ(code = DNCMD.REQ_YAZHU)
public class ReqYazhu extends ReqRoomProcess{

	@Override
	public void process(Room room, LogicController controller, Resp param) {
		JSONObject obj = (JSONObject) param.getParam();
		int multiple=obj.getIntValue("multiple");
		IDnService dnService = ZeroContext.getInstance(IDnService.class);
		dnService.reqYazhu(room,controller,multiple);
	}

}
